//go:build ignore
// +build ignore

package main

import (
	"go-caipu/pkg/build"
	"log"
	"os"
)

func main() {
	log.SetOutput(os.Stdout)
	log.SetFlags(0)
	os.Exit(build.RunCmd())
}

/*
  cmd build
  goos 编译平台
  goarch 编译架构
*/
//不带参数编译
//go run build.go build 本机编译
//go run build.go -goos=windows -goarch=amd64 build
//go run build.go -goos=linux -goarch=amd64 build
